home *** CD-ROM | disk | FTP | other *** search
/ Network CD 2 / Network CD - Volume 2.iso / programs / internet / envoy / envoysupport.lha / EnvoySupport / README < prev   
Encoding:
Text File  |  1993-11-30  |  2.8 KB  |  96 lines

  1.  
  2.  
  3.                             EnvoySupport.lib
  4.                             ~~~~~~~~~~~~~~~~~
  5.  
  6. WHAT IS IT:
  7. ~~~~~~~~~~~
  8.     Automatic (SAS-like) Open/CloseLibrary for envoy libraries
  9.  
  10.  
  11. DISTRIBUTION:
  12. ~~~~~~~~~~~~~
  13.     This product may be freely distributed under the following restrictions:
  14.  
  15.     1.  The complete contents of the original archive must remain intact.
  16.     2.  The original material may in no way be modified.
  17.     3.  This product may not be distributed for profit.  A nominal copying
  18.         fee is authorized (for cost of materials and shipping and handling
  19.         comparable to that charged by Fred Fish.)
  20.     4.  Commercial distribution of this product without written permission
  21.         from the author is forbidden.
  22.  
  23.  
  24. USE OF THIS PRODUCT:
  25. ~~~~~~~~~~~~~~~~~~~~
  26.     This product may be used under the following restrictions:
  27.  
  28.     1.  Non-commercial use of this product is free of charge.
  29.     2.  Commercial use of this product without written permission from the
  30.         author is forbidden.  This includes shareware.
  31.     3.  Honorable mention of the author and product must be included in the
  32.         client documentation (non-commercial and licensed-commercial.)
  33.     4.  This product may not be used for malicious intent.
  34.  
  35.  
  36.  
  37. DISCLAIMER:
  38. ~~~~~~~~~~~
  39.     This product is provided without any warranty, express or implied.  The
  40.     user of this product assumes full responsibility for any damage resulting
  41.     from the use and/or misuse of this product.
  42.  
  43.  
  44. CONTENTS:
  45. ~~~~~~~~~
  46.     This archive includes automatic SAS-C - library-constructor/destructors
  47.     for Envoy.  You'll also need the includes distributed with the developer
  48.     package.
  49.     The following Library Bases are recognized:
  50.  
  51.         struct Library* NIPCBase
  52.         struct Library* EnvoyBase
  53.         struct Library* ServicesBase
  54.         struct Library* AccountsBase
  55.  
  56.     Note that you'll need SAS-C 6.50 to recompile this library.
  57.  
  58.  
  59. USAGE:
  60. ~~~~~~
  61.     Use this library like you would use the usual SAS-autoopenlibrary feature,
  62.     e.g. :
  63.  
  64.     #include <proto/envoy.h>
  65.     #include <proto/nipc.h>
  66.  
  67.     extern long __netlibversion = 37;
  68.     extern long __oslibversion  = 39;
  69.  
  70.     main()
  71.     {
  72.         //  No! OpenLibrary()
  73.  
  74.         SomeEnvoyFunction ();
  75.         SomeOtherNIPCFunction ();
  76.  
  77.         //  No need for CloseLibrary (foobar);
  78.     }
  79.  
  80.  
  81.     Note that this library uses __netlibversion to determine the minimum
  82.     acceptable library version since you could need V39-OS and V37-Envoy.
  83.     If you don't specify __netlibversion, a default value of 37 will be
  84.     assumed.
  85.  
  86.  
  87. CONTACTING THE AUTHOR:
  88. ~~~~~~~~~~~~~~~~~~~~~~
  89. I can be reached by the following means:
  90.  
  91.     Internet:   hytandog@cip.informatik.uni-erlangen.de
  92.     UUCP:       hakan@kahalo.nbg.sub.org
  93.     Snail:      Hakan Tandogan
  94.                 Am Ruhstein 13
  95.                 D-91054-Buckenhof
  96.